package com.zeng.common;


public enum ServiceResultEnum {
    ERROR("error"),

    SUCCESS("success"),

    DATA_NOT_EXIST("未查询到记录！"),

    GOODS_NOT_EXIST("商品不存在！"),

    GOODS_PUT_DOWN("商品已下架！"),

    LOGIN_ERROR("登录失败！"),

    LOGIN_USER_LOCKED("用户被封禁！"),

    ORDER_NOT_EXIST_ERROR("订单不存在！"),

    OPERATE_ERROR("操作失败！"),

    DB_ERROR("database error");

    private String result;

    ServiceResultEnum(String result) {
        this.result = result;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
